package com.code.AZPlan.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel("收益统计日报对象")
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class IncomeStatisticsBO implements Serializable {

    private static final long serialVersionUID = 4394769214384117255L;

    @ApiModelProperty(value = "收益日期", example = "XXXXXX")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date incomeDate;

    @ApiModelProperty(value = "POS挖矿奖励", example = "0")
    private BigDecimal posMinerReward;

    @ApiModelProperty(value = "邀请奖励", example = "0")
    private BigDecimal inviteReward;

    @ApiModelProperty(value = "系统奖励", example = "0")
    private BigDecimal systemReward;
}
